package com.qf.shop.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExcelGoods {

    @ExcelProperty("商品类别")
    private String itemId;
    @ExcelProperty("商品名字")
    private String goodsName;
    @ExcelProperty("商品价格")
    private BigDecimal price;
    @ExcelProperty("商品库存")
    private Integer goodsNumber;

    @ExcelProperty("导入时间")
    @DateTimeFormat("yyyy/MM/dd")
    private Date createTime;
}
